package com.mjh.zhujianju.service.party;

import com.livew.framework.base.service.BaseService;
import com.mjh.zhujianju.model.party.BuildingExamUserEO;

import java.util.List;
import java.util.Map;

/**
 * @author liuyang
 * @Description: 用户答题考试
 * @date 2018/8/18 14:16
 */
public interface BuildingExamUserService extends BaseService<BuildingExamUserEO> {

    /**
     * 批量添加
     * @param map
     * @param resultId
     */
    void insertByBatch(Map<Long,List<Long>> map,Long resultId);


    /**
     * 根据考试结果查询用户信息
     * @param examId
     * @return
     */
    List<BuildingExamUserEO> queryBuildingExamUserByExamId(Long examId);

    List<BuildingExamUserEO> queryBuildingExamUserByResultId(Long resultId);

}
